package com.shenmazong.order.service;

import com.shenmazong.order.service.impl.ITbUserServiceImpl;
import com.shenmazong.utils.ResultResponse;
import com.shenmazong.vo.IdVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 军哥
 * @version 1.0
 * @description: ITbUserService
 * @date 2022/8/3 16:26
 */

@FeignClient(value = "server-zg6-user", fallback = ITbUserServiceImpl.class)
@Component(value = "iTbUserService")
public interface ITbUserService {
    @PostMapping(value = "/user/get")
    ResultResponse get(@RequestBody IdVo idVo);
}
